package com.kgc.novel.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kgc.novel.domain.entity.BookIncome;
import com.kgc.novel.domain.param.BookIncomeParam;
import com.kgc.novel.domain.param.BookShelfParam;
import com.kgc.novel.domain.vo.BookIncomeVO;
import com.kgc.novel.domain.vo.BookShelfVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookIncomeMapper extends BaseMapper<BookIncome> {
    List<BookIncomeVO> getAllIncome(BookIncomeParam bookIncomeParam);

    Integer getCountIncome(@Param("nickName") String nickName,
                           @Param("incomeEvent") String incomeEvent,
                           @Param("createTime") String createTime);
}
